package cate.common.table.trademall.currencyshop;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteField;

public class PayM1RebateRow extends ERow {
    @NoteField("开始天数")
    public int startDay;

    @NoteField("开始时间")
    public String startTimeStr;

    @NoteField("结束天数")
    public int endDay;

    @NoteField("结束时间")
    public String endTimeStr;

    @NoteField("返利分组")
    public int group;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID");
        this.startDay = xrw.getInteger("开始天数", 0);
//        this.startTimeStr = xrw.getString("开始时间");
        this.endDay = xrw.getInteger("结束天数", 0);
//        this.endTimeStr = xrw.getString("结束时间");
        this.group = xrw.getInteger("返利分组", 1);
    }
}
